package com.lisen.module.system.login.ui.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class UserLoginAction extends UserBaseAction {
	@Override
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		super.writeResponse(response, "登录1");
		HttpSession session = request.getSession(false);
		System.out.println(session.isNew()+session.getId()+session.isNew());
		System.out.println(request.getParameter("userName"));
		if(request.getParameter("userName")==null){
			request.getParameter("userName").toCharArray();
		}
		return null;
	}
}
